package com.hk.wms.wmssentinelservice8401.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@Component
@FeignClient(value="wms-provider",fallback = FeignFallbackService.class)
public interface FeignService {
    @GetMapping(value="/getStr/{id}")
    public String getString(@PathVariable("id") int id);
    @GetMapping(value="/getStr2/{id}")
    public String getString2(@PathVariable("id") int id);
}
